From 7685d157bc25d5f4a68b84a2b81ca5aa8cd1e461 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Tue, 15 Aug 2017 14:55:17 +0200 Subject: [PATCH] build: Remove more wrong kwargs declare_dependency does not take a depends: kwarg and meson 0.42.0 started warning about that. --- gdk/meson.build | 1 - gsk/meson.build | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gdk/meson.build b/gdk/meson.build index 0988dbf2fc..f9afe7208c 100644 --- a/gdk/meson.build +++ b/gdk/meson.build @@ -216,6 +216,5 @@ libgdk = static_library('gdk', # "public" libgtk_dep used by internal executables. libgdk_dep = declare_dependency( sources: ['gdk.h', gdkconfig, gdkenum_h], - depends: gdk_sources, include_directories: [confinc, xinc, wlinc], dependencies: gdk_deps) diff --git a/gsk/meson.build b/gsk/meson.build index ace74aadd0..d96c496803 100644 --- a/gsk/meson.build +++ b/gsk/meson.build @@ -178,7 +178,6 @@ libgsk = static_library('gsk', # We don't have link_with: to internal static libs here on purpose, just # list the dependencies and generated headers and such, for use in the # "public" libgtk_dep used by internal executables. -libgsk_dep = declare_dependency(depends: gsk_sources, - include_directories: [ confinc, ], +libgsk_dep = declare_dependency(include_directories: [ confinc, ], sources: [ gskenum_h, gskresources, ], dependencies: libgdk_dep) -- 2.30.2